home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ Lycos Clubs 2.xpl < prev    next >
Text File  |  2000-08-07  |  1KB  |  54 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="Internet\Instant Messaging\Lycos Clubs"
  5. "NAME"="General Settings"
  6. "VERSION"="1.01"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Load program on startup and if NeoPlanet starts"
  9. "DESCRIPTION 1"="Some options for Lycos/NeoPlanet Clubs."
  10. "DESCRIPTION 2"="Lycos Clubs may be obtained at http://clubs.lycos.com/live/Directory/welcome.asp and is also included with the full version of NeoPlanet 5.0 at http://www.neoplanet.com/."
  11. "AUTHOR"="Xteq Systems"
  12. "CONTACTURL"="http://www.xteq.com"
  13. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  14. "COMMENT 1"=" "
  15. "COMMENT 2"="Thanks to CptSiskoX for the settings and the idea."
  16.  
  17.  
  18.  sP="HKEY_CURRENT_USER\Software\Valent\LycosClubs\Client\Realms\NetClubs\"
  19. sV1="Disabled" 'DW 0/1
  20. Sub Plugin_Initialize 
  21.  if RegPathExists(sP) then
  22.     i=RegReadValue(sP & sV1)
  23.     if i<>1 then SetUiElement 1,true
  24.  else
  25.     Call Disable()
  26.  end if
  27.  
  28. End Sub
  29.  
  30.  
  31. Sub Plugin_CheckData(ElementIndex)
  32. End Sub
  33.  
  34.  
  35.  
  36. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  37.  b=GetUIElement(1)
  38.  if b=true then
  39.     i=0
  40.  else
  41.     i=1
  42.  end if
  43.  Call RegWriteValue(sP & sV1,i,2)
  44.  
  45.  
  46. End Sub
  47.  
  48.  
  49. Sub Plugin_Terminate 
  50. End Sub
  51.  
  52.  
  53.  
  54.